An analytical instrument which determines the mass of molecules of a substance or fragments of its molecules. It functions by injecting ionized moecules or molecular gragments into a vacuum chamber subjected to a strong magnetic field, in which charged particles move in a curved trajectory.